/**
 * Copyright 2007 American Well Systems
 * All rights reserved.
 *
 * It is illegal to use, reproduce or distribute
 * any part of this Intellectual Property without
 * prior written authorization from American Well.
 */
package org.windowkit.toolkit.databinding;

import javax.swing.JTextField;


/**
 * Data binder for text fields.
 * @author Rich O'Connell
 */
public class TextFieldBinder implements ComponentBinder<JTextField> {

	/**
	 * {@inheritDoc}
	 */
	public void bind(JTextField component, Object value) {
		component.setText(DataBindingUtils.getString(value));
	}

}
